package cn.wx.scholar.core.service;


import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.wx.scholar.core.entity.ScholarPatents;
import cn.wx.common.persistence.base.BaseService;
import cn.wx.scholar.core.mapper.ScholarPatentsMapper;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author  
 * @since 2018-09-21
 */
@Service
@Transactional
public class ScholarPatentsService extends BaseService<ScholarPatents, ScholarPatentsMapper> {

	public ScholarPatents queryOneById(Long pId) {
		return simpleMapper.queryOneById(pId);
	}

	
}
